package com.example.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel("支付状态修改类")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PayStatusVO implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("订单编号")
    @NotNull(message = "订单编号不能为空")
    private String orderNum;

    @ApiModelProperty("支付宝交易号")
    @NotNull(message = "支付宝交易号不能为空")
    private String tradeNo;
}
